package com.yy.service;

import com.yy.model.BannernewsEntity;

import java.util.List;
import java.util.Map;

/**
 * 轮播图
 * 
 * @author yy
 * @email 
 * @date 2017-07-16 17:45:48
 */
public interface BannernewsService {
	
	BannernewsEntity queryObject(Integer id);
	
	List<BannernewsEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(BannernewsEntity bannernews);
	
	void update(BannernewsEntity bannernews);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
